package tianhao.luo.hashtab;

/**
 * 雇员
 *
 * 链表保存的元素
 *
 * @author: tianhao.luo@hand-china.com 2021/6/21  下午11:00
 */
public class Emp {

    public int id;
    public String name;

    public Emp next;

    public Emp(int id, String name) {
        this.id = id;
        this.name = name;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("Emp{");
        sb.append("id=").append(id);
        sb.append(", name='").append(name).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
